<?php
$keyword = $_POST['keyword'];
    mysql_connect("localhost","root","");
    mysql_select_db('noc');
    $search = mysql_query("select * from `news` where `news_title` like '%$keyword%' ");
        if ( mysql_num_rows($search) > 0) {
            while($search_result = mysql_fetch_assoc($search) ) {
?>